package com.hyt.it.ogt.pj.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: longt
 * @Param: 评卷任务分页数据
 * @date: 2022/3/3 上午10:12
 */
@Data
@Accessors(chain = true)
public class TaskPageItemVo {

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "评卷项目id")
    private String pieceScoreId;

    @ApiModelProperty(value = "评卷项目块id")
    private String 	pieceId;

    @ApiModelProperty(value = "评卷项目id")
    private String projectId;

    @ApiModelProperty(value = "准考证号")
    private String admissionNo;

    @ApiModelProperty(value = "考生名称")
    private String studentName;

    @ApiModelProperty(value = "科目id")
    private String subjectId;

    @ApiModelProperty(value = "科目名称")
    private String subjectName;

    @ApiModelProperty(value = "批次Id")
    private String batchId;

    @ApiModelProperty(value = "批次名称")
    private String batchName;

    @ApiModelProperty(value = "考点id")
    private String placeName;

    @ApiModelProperty(value = "考场id")
    private String roomName;

    @ApiModelProperty(value = "考试开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date examStartTime;

    @ApiModelProperty(value = "考试结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date examEndTime;

    @ApiModelProperty(value = "答题时长")
    private Long answerTime;

    @ApiModelProperty(value = "主观题得分")
    private BigDecimal subjectiveScore;

    @ApiModelProperty(value = "客观题得分")
    private BigDecimal objectiveScore = BigDecimal.ZERO;

    @ApiModelProperty(value = "总分")
    private BigDecimal score;

    @ApiModelProperty(value = "排名")
    private Long rank;

    @ApiModelProperty(value = "评卷状态")
    private Integer markStatus;

    @ApiModelProperty(value = "专家名称")
    private List<String> expertName;

    @ApiModelProperty(value = "考生状态（0：正常 1：缺席）")
    private Integer absent;

    @ApiModelProperty(value = "开始评卷时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date markStartTime;

    @ApiModelProperty(value = "结束评卷时间,(评卷时间自己计算)")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date markEndTime;

    @ApiModelProperty(value = "最后一次评卷时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastmarkTime;

    @ApiModelProperty(value = "评卷完成标记（0：未开始 1：已完成，2：评卷中）")
    private Integer finish;

    @ApiModelProperty(value = "评卷次数")
    private Integer markTimes;

    @ApiModelProperty(value = "允许回评（0：关闭， 1：开启）")
    private String rejudge;

    @ApiModelProperty(value = "评卷时长")
    private String duration;

    @ApiModelProperty(value = "座位号")
    private String seatNo;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "证件号")
    private String idCard;

    @ApiModelProperty(value = "证件号")
    private String idNo;

    @ApiModelProperty(value = "手机号")
    private String telephone;

}
